<?php
	App::uses('AppController', 'Controller');
	class OverPeoplesController extends AppController {
		public $components = array('Paginator', 'Session');

		public function delete($id = null){
			$this->OverPeople->id = $id;
			if (!$this->OverPeople->exists()) {
				return $this->redirect(array('controller'=>'rooms','action' => 'setup_price'));
			}else{
				$this->OverPeople->delete();
			}

		}


	}
	
